﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using Hsinchu.Model;

namespace Hsinchu.BLL
{
    /*
     * 用户业务逻辑
     */
    public class UserInfoMgr
    {
        DAL.DataProcess dllDataProcess = new Hsinchu.DAL.DataProcess();


        /// <summary>
        /// 根据用户id查询用户信息
        /// </summary>
        /// <param name="userid">用户id</param>
        /// <returns>用户信息DataTable</returns>
        public DataTable GetUserInfoByUserId(int userid)
        {
            string _spName = "Select_ReceiveAddressById";
            object[] _value = new object[1];
            _value[0] = userid;
            return dllDataProcess.getDataTable(_spName, _value);
        }
    }
}
